package com.kun.kunkunmall.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "cart.threadpool")
@Data
@Component
public class CartThreadConfigProperties {
    private int corePoolSize;
    private int maximumPoolSize;
    private long keepAliveTime;
}
